<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>FFmpegKit Android API: fftools_cmdutils.c File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="../../ffmpeg-kit-icon-v9-small.png"/></td>
  <td id="projectalign">
   <div id="projectname">FFmpegKit Android API<span id="projectnumber">&#160;6.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle"><div class="title">fftools_cmdutils.c File Reference</div></div>
</div><!--header-->
<div class="contents">

<p><a href="../../d7/dcc/fftools__cmdutils_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a6ccad09b4a2a06ae178418fdccf5940d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a6ccad09b4a2a06ae178418fdccf5940d">FLAGS</a>&#160;&#160;&#160;(o-&gt;type == AV_OPT_TYPE_FLAGS &amp;&amp; (arg[0]=='-' || arg[0]=='+')) ? AV_DICT_APPEND : 0</td></tr>
<tr class="separator:a6ccad09b4a2a06ae178418fdccf5940d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77359635accb87859b14d66b53002138"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a77359635accb87859b14d66b53002138">GET_ARG</a>(arg)</td></tr>
<tr class="separator:a77359635accb87859b14d66b53002138"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ac58552bde3a215ae94a3bd114577cbee"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#ac58552bde3a215ae94a3bd114577cbee">uninit_opts</a> (void)</td></tr>
<tr class="separator:ac58552bde3a215ae94a3bd114577cbee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f4db71e6407040a01316c537db5040c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a0f4db71e6407040a01316c537db5040c">init_dynload</a> (void)</td></tr>
<tr class="separator:a0f4db71e6407040a01316c537db5040c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa64dcad44f54da335b337154d9e9950f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#aa64dcad44f54da335b337154d9e9950f">register_exit</a> (void(*cb)(<a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> ret))</td></tr>
<tr class="separator:aa64dcad44f54da335b337154d9e9950f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3aa39faacd4687b4af180f8e06f0b8f1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a3aa39faacd4687b4af180f8e06f0b8f1">report_and_exit</a> (<a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> ret)</td></tr>
<tr class="separator:a3aa39faacd4687b4af180f8e06f0b8f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00fcf983c7dd20dd65568b3ebc20ed44"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a00fcf983c7dd20dd65568b3ebc20ed44">exit_program</a> (<a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> ret)</td></tr>
<tr class="separator:a00fcf983c7dd20dd65568b3ebc20ed44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee611299e84dab23d614366f993e96ae"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#aee611299e84dab23d614366f993e96ae">parse_number_or_die</a> (const char *context, const char *numstr, <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> type, double min, double max)</td></tr>
<tr class="separator:aee611299e84dab23d614366f993e96ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa60d6deab0047c29fc1f6602f812774f"><td class="memItemLeft" align="right" valign="top">int64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#aa60d6deab0047c29fc1f6602f812774f">parse_time_or_die</a> (const char *context, const char *timestr, <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> is_duration)</td></tr>
<tr class="separator:aa60d6deab0047c29fc1f6602f812774f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13fba56a5674556e879f5733f9b1dd55"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a13fba56a5674556e879f5733f9b1dd55">show_help_options</a> (const <a class="el" href="../../dc/d1e/struct_option_def.html">OptionDef</a> *options, const char *msg, <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> req_flags, <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> rej_flags, <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> alt_flags)</td></tr>
<tr class="separator:a13fba56a5674556e879f5733f9b1dd55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0833f5d4481c5c8c2362b0e5d65af5f3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a0833f5d4481c5c8c2362b0e5d65af5f3">show_help_children</a> (const AVClass *class, <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> flags)</td></tr>
<tr class="separator:a0833f5d4481c5c8c2362b0e5d65af5f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3a8daafd2faab0856377023b0fc4d4c"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="../../dc/d1e/struct_option_def.html">OptionDef</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#ad3a8daafd2faab0856377023b0fc4d4c">find_option</a> (const <a class="el" href="../../dc/d1e/struct_option_def.html">OptionDef</a> *po, const char *name)</td></tr>
<tr class="separator:ad3a8daafd2faab0856377023b0fc4d4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cd6e5cbbafaff05295a751def5d32ad"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a0cd6e5cbbafaff05295a751def5d32ad">prepare_app_arguments</a> (<a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> *argc_ptr, char ***argv_ptr)</td></tr>
<tr class="separator:a0cd6e5cbbafaff05295a751def5d32ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ca363d9d3e4d401719d9e2e27fd5e21"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a5ca363d9d3e4d401719d9e2e27fd5e21">write_option</a> (void *optctx, const <a class="el" href="../../dc/d1e/struct_option_def.html">OptionDef</a> *po, const char *opt, const char *arg)</td></tr>
<tr class="separator:a5ca363d9d3e4d401719d9e2e27fd5e21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f7f4bf6a990541888b7f4ece3456547"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a0f7f4bf6a990541888b7f4ece3456547">parse_option</a> (void *optctx, const char *opt, const char *arg, const <a class="el" href="../../dc/d1e/struct_option_def.html">OptionDef</a> *options)</td></tr>
<tr class="separator:a0f7f4bf6a990541888b7f4ece3456547"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8863e994be95bc81bbedff194aa2842f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a8863e994be95bc81bbedff194aa2842f">parse_options</a> (void *optctx, <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> argc, char **argv, const <a class="el" href="../../dc/d1e/struct_option_def.html">OptionDef</a> *options, void(*parse_arg_function)(void *, const char *))</td></tr>
<tr class="separator:a8863e994be95bc81bbedff194aa2842f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0e1bd04fd160c44d7e36623314380e4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#ae0e1bd04fd160c44d7e36623314380e4">parse_optgroup</a> (void *optctx, <a class="el" href="../../d6/d69/struct_option_group.html">OptionGroup</a> *g)</td></tr>
<tr class="separator:ae0e1bd04fd160c44d7e36623314380e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e2be8d99206aaa4b7c6fdb3bb612ffb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a4e2be8d99206aaa4b7c6fdb3bb612ffb">locate_option</a> (<a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> argc, char **argv, const <a class="el" href="../../dc/d1e/struct_option_def.html">OptionDef</a> *options, const char *optname)</td></tr>
<tr class="separator:a4e2be8d99206aaa4b7c6fdb3bb612ffb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e83d42916340e97470acbeccb64d2bf"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a4e83d42916340e97470acbeccb64d2bf">dump_argument</a> (FILE *<a class="el" href="../../da/d2c/fftools__opt__common_8c.html#aae7206a42eedd142cc587d0c3a47949f">report_file</a>, const char *a)</td></tr>
<tr class="separator:a4e83d42916340e97470acbeccb64d2bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae40b9746b06af788a13286f6b74dd1a1"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#ae40b9746b06af788a13286f6b74dd1a1">check_options</a> (const <a class="el" href="../../dc/d1e/struct_option_def.html">OptionDef</a> *po)</td></tr>
<tr class="separator:ae40b9746b06af788a13286f6b74dd1a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a812390811ecf2673409d4d2191b3696a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a812390811ecf2673409d4d2191b3696a">parse_loglevel</a> (<a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> argc, char **argv, const <a class="el" href="../../dc/d1e/struct_option_def.html">OptionDef</a> *options)</td></tr>
<tr class="separator:a812390811ecf2673409d4d2191b3696a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f31d08e8a00b1099ff24a35bd38ff6d"><td class="memItemLeft" align="right" valign="top">static const AVOption *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a4f31d08e8a00b1099ff24a35bd38ff6d">opt_find</a> (void *obj, const char *name, const char *unit, <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> opt_flags, <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> search_flags)</td></tr>
<tr class="separator:a4f31d08e8a00b1099ff24a35bd38ff6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24c4e9b816e053a3facd267d56daf1ed"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a24c4e9b816e053a3facd267d56daf1ed">opt_default</a> (void *optctx, const char *opt, const char *arg)</td></tr>
<tr class="separator:a24c4e9b816e053a3facd267d56daf1ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a029335d12e282d56b7fec7abb40389d5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a029335d12e282d56b7fec7abb40389d5">match_group_separator</a> (const <a class="el" href="../../db/dd7/struct_option_group_def.html">OptionGroupDef</a> *<a class="el" href="../../da/d66/fftools__ffmpeg__opt_8c.html#aff4fa3e8fa1d91d0ce74666f651b900a">groups</a>, <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> nb_groups, const char *opt)</td></tr>
<tr class="separator:a029335d12e282d56b7fec7abb40389d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78b32a226e4f9c879551b61e586d0f29"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a78b32a226e4f9c879551b61e586d0f29">finish_group</a> (<a class="el" href="../../db/db5/struct_option_parse_context.html">OptionParseContext</a> *octx, <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> group_idx, const char *arg)</td></tr>
<tr class="separator:a78b32a226e4f9c879551b61e586d0f29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69d117c59ea1d4359816e413ea3717ad"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a69d117c59ea1d4359816e413ea3717ad">add_opt</a> (<a class="el" href="../../db/db5/struct_option_parse_context.html">OptionParseContext</a> *octx, const <a class="el" href="../../dc/d1e/struct_option_def.html">OptionDef</a> *opt, const char *key, const char *val)</td></tr>
<tr class="separator:a69d117c59ea1d4359816e413ea3717ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64b3f85793c74c02a8f0ba9148e788c5"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a64b3f85793c74c02a8f0ba9148e788c5">init_parse_context</a> (<a class="el" href="../../db/db5/struct_option_parse_context.html">OptionParseContext</a> *octx, const <a class="el" href="../../db/dd7/struct_option_group_def.html">OptionGroupDef</a> *<a class="el" href="../../da/d66/fftools__ffmpeg__opt_8c.html#aff4fa3e8fa1d91d0ce74666f651b900a">groups</a>, <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> nb_groups)</td></tr>
<tr class="separator:a64b3f85793c74c02a8f0ba9148e788c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bcd5cd3628e5864fa94431d8eb08fad"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a8bcd5cd3628e5864fa94431d8eb08fad">uninit_parse_context</a> (<a class="el" href="../../db/db5/struct_option_parse_context.html">OptionParseContext</a> *octx)</td></tr>
<tr class="separator:a8bcd5cd3628e5864fa94431d8eb08fad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8dbe23ab7c8099a82806ae9beb9d4306"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a8dbe23ab7c8099a82806ae9beb9d4306">split_commandline</a> (<a class="el" href="../../db/db5/struct_option_parse_context.html">OptionParseContext</a> *octx, <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> argc, char *argv[], const <a class="el" href="../../dc/d1e/struct_option_def.html">OptionDef</a> *options, const <a class="el" href="../../db/dd7/struct_option_group_def.html">OptionGroupDef</a> *<a class="el" href="../../da/d66/fftools__ffmpeg__opt_8c.html#aff4fa3e8fa1d91d0ce74666f651b900a">groups</a>, <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> nb_groups)</td></tr>
<tr class="separator:a8dbe23ab7c8099a82806ae9beb9d4306"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2911387e778b01a25f0e65eabadf1b7b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a2911387e778b01a25f0e65eabadf1b7b">print_error</a> (const char *filename, <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> err)</td></tr>
<tr class="separator:a2911387e778b01a25f0e65eabadf1b7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40394fd5966088e759ce995186773700"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a40394fd5966088e759ce995186773700">read_yesno</a> (void)</td></tr>
<tr class="separator:a40394fd5966088e759ce995186773700"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae3aef834612a1e1bbd2442ecf839c55"><td class="memItemLeft" align="right" valign="top">FILE *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#aae3aef834612a1e1bbd2442ecf839c55">get_preset_file</a> (char *filename, size_t filename_size, const char *preset_name, <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> is_path, const char *codec_name)</td></tr>
<tr class="separator:aae3aef834612a1e1bbd2442ecf839c55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a632b71e4b56c5ee8556a407bbecbcef8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a632b71e4b56c5ee8556a407bbecbcef8">check_stream_specifier</a> (AVFormatContext *s, AVStream *st, const char *spec)</td></tr>
<tr class="separator:a632b71e4b56c5ee8556a407bbecbcef8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0557532a11ce0dfa427a8a9e94b968b"><td class="memItemLeft" align="right" valign="top">AVDictionary *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#ad0557532a11ce0dfa427a8a9e94b968b">filter_codec_opts</a> (AVDictionary *opts, enum AVCodecID codec_id, AVFormatContext *s, AVStream *st, const AVCodec *codec)</td></tr>
<tr class="separator:ad0557532a11ce0dfa427a8a9e94b968b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe6a9f6163ee90a66f85595f7984b982"><td class="memItemLeft" align="right" valign="top">AVDictionary **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#afe6a9f6163ee90a66f85595f7984b982">setup_find_stream_info_opts</a> (AVFormatContext *s, AVDictionary *<a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a08b59fb8c12cbc6db2dd68a367ae49d9">codec_opts</a>)</td></tr>
<tr class="separator:afe6a9f6163ee90a66f85595f7984b982"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd90965dc8c1458acd18b24978ce3c12"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#acd90965dc8c1458acd18b24978ce3c12">grow_array</a> (void *array, <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> elem_size, <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> *size, <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> new_size)</td></tr>
<tr class="separator:acd90965dc8c1458acd18b24978ce3c12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91eec3bd05ae08ccbafbfff25289f7fa"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a91eec3bd05ae08ccbafbfff25289f7fa">allocate_array_elem</a> (void *ptr, size_t elem_size, <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> *nb_elems)</td></tr>
<tr class="separator:a91eec3bd05ae08ccbafbfff25289f7fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33a871fa60019dd33316c641cc011ae1"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a33a871fa60019dd33316c641cc011ae1">get_rotation</a> (int32_t *displaymatrix)</td></tr>
<tr class="separator:a33a871fa60019dd33316c641cc011ae1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a6afce516a5adaeabd7087b767bab5886"><td class="memItemLeft" align="right" valign="top">__thread char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a6afce516a5adaeabd7087b767bab5886">program_name</a></td></tr>
<tr class="separator:a6afce516a5adaeabd7087b767bab5886"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83fbf976c7976ea554e7bda1d266b0a2"><td class="memItemLeft" align="right" valign="top">__thread <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a83fbf976c7976ea554e7bda1d266b0a2">program_birth_year</a></td></tr>
<tr class="separator:a83fbf976c7976ea554e7bda1d266b0a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c8028bff4ba308f54869748db9f692d"><td class="memItemLeft" align="right" valign="top">__thread AVDictionary *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a8c8028bff4ba308f54869748db9f692d">sws_dict</a></td></tr>
<tr class="separator:a8c8028bff4ba308f54869748db9f692d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a011fa5c3ecc237f646a56085659f53f3"><td class="memItemLeft" align="right" valign="top">__thread AVDictionary *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a011fa5c3ecc237f646a56085659f53f3">swr_opts</a></td></tr>
<tr class="separator:a011fa5c3ecc237f646a56085659f53f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19714c08385a99d977c6d1bcfed4bca5"><td class="memItemLeft" align="right" valign="top">__thread AVDictionary *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a19714c08385a99d977c6d1bcfed4bca5">format_opts</a></td></tr>
<tr class="separator:a19714c08385a99d977c6d1bcfed4bca5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08b59fb8c12cbc6db2dd68a367ae49d9"><td class="memItemLeft" align="right" valign="top">__thread AVDictionary *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a08b59fb8c12cbc6db2dd68a367ae49d9">codec_opts</a></td></tr>
<tr class="separator:a08b59fb8c12cbc6db2dd68a367ae49d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad41fedd149e409656cc5e266493d15d1"><td class="memItemLeft" align="right" valign="top">__thread <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#ad41fedd149e409656cc5e266493d15d1">hide_banner</a> = 0</td></tr>
<tr class="separator:ad41fedd149e409656cc5e266493d15d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d1a98cbe0679b1ee8a0e82d6a3283b8"><td class="memItemLeft" align="right" valign="top">__thread <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a7d1a98cbe0679b1ee8a0e82d6a3283b8">longjmp_value</a> = 0</td></tr>
<tr class="separator:a7d1a98cbe0679b1ee8a0e82d6a3283b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70a33336401e81adb9d98c23ec4e77b7"><td class="memItemLeft" align="right" valign="top">static __thread void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dcc/fftools__cmdutils_8c.html#a70a33336401e81adb9d98c23ec4e77b7">program_exit</a> )(<a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> ret)</td></tr>
<tr class="separator:a70a33336401e81adb9d98c23ec4e77b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a6ccad09b4a2a06ae178418fdccf5940d" name="a6ccad09b4a2a06ae178418fdccf5940d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ccad09b4a2a06ae178418fdccf5940d">&#9670;&#160;</a></span>FLAGS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FLAGS&#160;&#160;&#160;(o-&gt;type == AV_OPT_TYPE_FLAGS &amp;&amp; (arg[0]=='-' || arg[0]=='+')) ? AV_DICT_APPEND : 0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00569">569</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a77359635accb87859b14d66b53002138" name="a77359635accb87859b14d66b53002138"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77359635accb87859b14d66b53002138">&#9670;&#160;</a></span>GET_ARG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GET_ARG</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">arg</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                           \</div>
<div class="line">    if (optindex &lt; argc) {                                                     \</div>
<div class="line">        arg = argv[optindex++];                                                \</div>
<div class="line">    } <span class="keywordflow">else</span> {                                                                   \</div>
<div class="line">        av_log(NULL, AV_LOG_ERROR, <span class="stringliteral">&quot;Missing argument for option &#39;%s&#39;.\n&quot;</span>, opt);\</div>
<div class="line">        <span class="keywordflow">return</span> AVERROR(EINVAL);                                                \</div>
<div class="line">    }                                                                          \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a69d117c59ea1d4359816e413ea3717ad" name="a69d117c59ea1d4359816e413ea3717ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69d117c59ea1d4359816e413ea3717ad">&#9670;&#160;</a></span>add_opt()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void add_opt </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../db/db5/struct_option_parse_context.html">OptionParseContext</a> *&#160;</td>
          <td class="paramname"><em>octx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d1e/struct_option_def.html">OptionDef</a> *&#160;</td>
          <td class="paramname"><em>opt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>val</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00690">690</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a91eec3bd05ae08ccbafbfff25289f7fa" name="a91eec3bd05ae08ccbafbfff25289f7fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91eec3bd05ae08ccbafbfff25289f7fa">&#9670;&#160;</a></span>allocate_array_elem()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void * allocate_array_elem </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>array</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>elem_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> *&#160;</td>
          <td class="paramname"><em>nb_elems</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Atomically add a new element to an array of pointers, i.e. allocate a new entry, reallocate the array of pointers and make the new last member of this array point to the newly allocated buffer. Calls exit() on failure.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">array</td><td>array of pointers to reallocate </td></tr>
    <tr><td class="paramname">elem_size</td><td>size of the new element to allocate </td></tr>
    <tr><td class="paramname">nb_elems</td><td>pointer to the number of elements of the array array; *nb_elems will be incremented by one by this function. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pointer to the newly allocated entry </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l01046">1046</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="ae40b9746b06af788a13286f6b74dd1a1" name="ae40b9746b06af788a13286f6b74dd1a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae40b9746b06af788a13286f6b74dd1a1">&#9670;&#160;</a></span>check_options()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void check_options </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d1e/struct_option_def.html">OptionDef</a> *&#160;</td>
          <td class="paramname"><em>po</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00519">519</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a632b71e4b56c5ee8556a407bbecbcef8" name="a632b71e4b56c5ee8556a407bbecbcef8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a632b71e4b56c5ee8556a407bbecbcef8">&#9670;&#160;</a></span>check_stream_specifier()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> check_stream_specifier </td>
          <td>(</td>
          <td class="paramtype">AVFormatContext *&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">AVStream *&#160;</td>
          <td class="paramname"><em>st</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>spec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Check if the given stream matches a stream specifier.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">s</td><td>Corresponding format context. </td></tr>
    <tr><td class="paramname">st</td><td>Stream from s to be checked. </td></tr>
    <tr><td class="paramname">spec</td><td>A stream specifier of the [v|a|s|d]:[&lt;stream index&gt;] form.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>1 if the stream matches, 0 if it doesn't, &lt;0 on error </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00946">946</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a4e83d42916340e97470acbeccb64d2bf" name="a4e83d42916340e97470acbeccb64d2bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e83d42916340e97470acbeccb64d2bf">&#9670;&#160;</a></span>dump_argument()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void dump_argument </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>report_file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00495">495</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a00fcf983c7dd20dd65568b3ebc20ed44" name="a00fcf983c7dd20dd65568b3ebc20ed44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00fcf983c7dd20dd65568b3ebc20ed44">&#9670;&#160;</a></span>exit_program()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void exit_program </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td>
          <td class="paramname"><em>ret</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Wraps exit with a program-specific cleanup routine. </p>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00145">145</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="ad0557532a11ce0dfa427a8a9e94b968b" name="ad0557532a11ce0dfa427a8a9e94b968b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0557532a11ce0dfa427a8a9e94b968b">&#9670;&#160;</a></span>filter_codec_opts()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">AVDictionary * filter_codec_opts </td>
          <td>(</td>
          <td class="paramtype">AVDictionary *&#160;</td>
          <td class="paramname"><em>opts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">enum AVCodecID&#160;</td>
          <td class="paramname"><em>codec_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">AVFormatContext *&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">AVStream *&#160;</td>
          <td class="paramname"><em>st</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const AVCodec *&#160;</td>
          <td class="paramname"><em>codec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Filter out options for given codec.</p>
<p>Create a new options dictionary containing only the options from opts which apply to the codec with ID codec_id.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">opts</td><td>dictionary to place options in </td></tr>
    <tr><td class="paramname">codec_id</td><td>ID of the codec that should be filtered for </td></tr>
    <tr><td class="paramname">s</td><td>Corresponding format context. </td></tr>
    <tr><td class="paramname">st</td><td>A stream from s for which the options should be filtered. </td></tr>
    <tr><td class="paramname">codec</td><td>The particular codec for which the options should be filtered. If null, the default one is looked up according to the codec id. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the created dictionary </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00954">954</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="ad3a8daafd2faab0856377023b0fc4d4c" name="ad3a8daafd2faab0856377023b0fc4d4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3a8daafd2faab0856377023b0fc4d4c">&#9670;&#160;</a></span>find_option()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="../../dc/d1e/struct_option_def.html">OptionDef</a> * find_option </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d1e/struct_option_def.html">OptionDef</a> *&#160;</td>
          <td class="paramname"><em>po</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00232">232</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a78b32a226e4f9c879551b61e586d0f29" name="a78b32a226e4f9c879551b61e586d0f29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78b32a226e4f9c879551b61e586d0f29">&#9670;&#160;</a></span>finish_group()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void finish_group </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../db/db5/struct_option_parse_context.html">OptionParseContext</a> *&#160;</td>
          <td class="paramname"><em>octx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td>
          <td class="paramname"><em>group_idx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>arg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00662">662</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="aae3aef834612a1e1bbd2442ecf839c55" name="aae3aef834612a1e1bbd2442ecf839c55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae3aef834612a1e1bbd2442ecf839c55">&#9670;&#160;</a></span>get_preset_file()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">FILE * get_preset_file </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>filename_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>preset_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td>
          <td class="paramname"><em>is_path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>codec_name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get a file corresponding to a preset file.</p>
<p>If is_path is non-zero, look for the file in the path preset_name. Otherwise search for a file named arg.ffpreset in the directories $FFMPEG_DATADIR (if set), $HOME/.ffmpeg, and in the datadir defined at configuration time or in a "ffpresets" folder along the executable on win32, in that order. If no such file is found and codec_name is defined, then search for a file named codec_name-preset_name.avpreset in the above-mentioned directories.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>buffer where the name of the found filename is written </td></tr>
    <tr><td class="paramname">filename_size</td><td>size in bytes of the filename buffer </td></tr>
    <tr><td class="paramname">preset_name</td><td>name of the preset to search </td></tr>
    <tr><td class="paramname">is_path</td><td>tell if preset_name is a filename path </td></tr>
    <tr><td class="paramname">codec_name</td><td>name of the codec for which to look for the preset, may be NULL </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00874">874</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a33a871fa60019dd33316c641cc011ae1" name="a33a871fa60019dd33316c641cc011ae1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33a871fa60019dd33316c641cc011ae1">&#9670;&#160;</a></span>get_rotation()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double get_rotation </td>
          <td>(</td>
          <td class="paramtype">int32_t *&#160;</td>
          <td class="paramname"><em>displaymatrix</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l01056">1056</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="acd90965dc8c1458acd18b24978ce3c12" name="acd90965dc8c1458acd18b24978ce3c12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd90965dc8c1458acd18b24978ce3c12">&#9670;&#160;</a></span>grow_array()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void * grow_array </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>array</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td>
          <td class="paramname"><em>elem_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> *&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td>
          <td class="paramname"><em>new_size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Realloc array to hold new_size elements of elem_size. Calls exit() on failure.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">array</td><td>array to reallocate </td></tr>
    <tr><td class="paramname">elem_size</td><td>size in bytes of each element </td></tr>
    <tr><td class="paramname">size</td><td>new element count will be written here </td></tr>
    <tr><td class="paramname">new_size</td><td>number of elements to place in reallocated array </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>reallocated array </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l01029">1029</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a0f4db71e6407040a01316c537db5040c" name="a0f4db71e6407040a01316c537db5040c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f4db71e6407040a01316c537db5040c">&#9670;&#160;</a></span>init_dynload()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void init_dynload </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Initialize dynamic library loading </p>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00123">123</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a64b3f85793c74c02a8f0ba9148e788c5" name="a64b3f85793c74c02a8f0ba9148e788c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64b3f85793c74c02a8f0ba9148e788c5">&#9670;&#160;</a></span>init_parse_context()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void init_parse_context </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../db/db5/struct_option_parse_context.html">OptionParseContext</a> *&#160;</td>
          <td class="paramname"><em>octx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../db/dd7/struct_option_group_def.html">OptionGroupDef</a> *&#160;</td>
          <td class="paramname"><em>groups</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td>
          <td class="paramname"><em>nb_groups</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00702">702</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a4e2be8d99206aaa4b7c6fdb3bb612ffb" name="a4e2be8d99206aaa4b7c6fdb3bb612ffb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e2be8d99206aaa4b7c6fdb3bb612ffb">&#9670;&#160;</a></span>locate_option()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> locate_option </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&#160;</td>
          <td class="paramname"><em>argv</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d1e/struct_option_def.html">OptionDef</a> *&#160;</td>
          <td class="paramname"><em>options</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>optname</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return index of option opt in argv or 0 if not found. </p>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00469">469</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a029335d12e282d56b7fec7abb40389d5" name="a029335d12e282d56b7fec7abb40389d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a029335d12e282d56b7fec7abb40389d5">&#9670;&#160;</a></span>match_group_separator()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> match_group_separator </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../db/dd7/struct_option_group_def.html">OptionGroupDef</a> *&#160;</td>
          <td class="paramname"><em>groups</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td>
          <td class="paramname"><em>nb_groups</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>opt</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00642">642</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a24c4e9b816e053a3facd267d56daf1ed" name="a24c4e9b816e053a3facd267d56daf1ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24c4e9b816e053a3facd267d56daf1ed">&#9670;&#160;</a></span>opt_default()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> opt_default </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>optctx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>opt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>arg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Fallback for options that are not explicitly handled, these will be parsed through AVOptions. </p>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00570">570</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a4f31d08e8a00b1099ff24a35bd38ff6d" name="a4f31d08e8a00b1099ff24a35bd38ff6d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f31d08e8a00b1099ff24a35bd38ff6d">&#9670;&#160;</a></span>opt_find()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const AVOption * opt_find </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>unit</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td>
          <td class="paramname"><em>opt_flags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td>
          <td class="paramname"><em>search_flags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00560">560</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a812390811ecf2673409d4d2191b3696a" name="a812390811ecf2673409d4d2191b3696a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a812390811ecf2673409d4d2191b3696a">&#9670;&#160;</a></span>parse_loglevel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void parse_loglevel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&#160;</td>
          <td class="paramname"><em>argv</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d1e/struct_option_def.html">OptionDef</a> *&#160;</td>
          <td class="paramname"><em>options</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Find the '-loglevel' option in the command line args and apply it. </p>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00528">528</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="aee611299e84dab23d614366f993e96ae" name="aee611299e84dab23d614366f993e96ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee611299e84dab23d614366f993e96ae">&#9670;&#160;</a></span>parse_number_or_die()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double parse_number_or_die </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>numstr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>min</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>max</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Parse a string and return its corresponding value as a double. Exit from the application if the string cannot be correctly parsed or the corresponding value is invalid.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>the context of the value to be set (e.g. the corresponding command line option name) </td></tr>
    <tr><td class="paramname">numstr</td><td>the string to be parsed </td></tr>
    <tr><td class="paramname">type</td><td>the type (OPT_INT64 or OPT_FLOAT) as which the string should be parsed </td></tr>
    <tr><td class="paramname">min</td><td>the minimum valid accepted value </td></tr>
    <tr><td class="paramname">max</td><td>the maximum valid accepted value </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00157">157</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="ae0e1bd04fd160c44d7e36623314380e4" name="ae0e1bd04fd160c44d7e36623314380e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0e1bd04fd160c44d7e36623314380e4">&#9670;&#160;</a></span>parse_optgroup()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> parse_optgroup </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>optctx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d6/d69/struct_option_group.html">OptionGroup</a> *&#160;</td>
          <td class="paramname"><em>g</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Parse an options group and write results into optctx.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">optctx</td><td>an app-specific options context. NULL for global options group </td></tr>
    <tr><td class="paramname">g</td><td>option group </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00436">436</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a0f7f4bf6a990541888b7f4ece3456547" name="a0f7f4bf6a990541888b7f4ece3456547"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f7f4bf6a990541888b7f4ece3456547">&#9670;&#160;</a></span>parse_option()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> parse_option </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>optctx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>opt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>arg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d1e/struct_option_def.html">OptionDef</a> *&#160;</td>
          <td class="paramname"><em>options</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Parse one given option.</p>
<dl class="section return"><dt>Returns</dt><dd>on success 1 if arg was consumed, 0 otherwise; negative number on error </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00362">362</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a8863e994be95bc81bbedff194aa2842f" name="a8863e994be95bc81bbedff194aa2842f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8863e994be95bc81bbedff194aa2842f">&#9670;&#160;</a></span>parse_options()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void parse_options </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>optctx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&#160;</td>
          <td class="paramname"><em>argv</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d1e/struct_option_def.html">OptionDef</a> *&#160;</td>
          <td class="paramname"><em>options</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void(*)(void *, const char *)&#160;</td>
          <td class="paramname"><em>parse_arg_function</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00401">401</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="aa60d6deab0047c29fc1f6602f812774f" name="aa60d6deab0047c29fc1f6602f812774f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa60d6deab0047c29fc1f6602f812774f">&#9670;&#160;</a></span>parse_time_or_die()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int64_t parse_time_or_die </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>timestr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td>
          <td class="paramname"><em>is_duration</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Parse a string specifying a time and return its corresponding value as a number of microseconds. Exit from the application if the string cannot be correctly parsed.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>the context of the value to be set (e.g. the corresponding command line option name) </td></tr>
    <tr><td class="paramname">timestr</td><td>the string to be parsed </td></tr>
    <tr><td class="paramname">is_duration</td><td>a flag which tells how to interpret timestr, if not zero timestr is interpreted as a duration, otherwise as a date</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>av_parse_time() </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00178">178</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a0cd6e5cbbafaff05295a751def5d32ad" name="a0cd6e5cbbafaff05295a751def5d32ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0cd6e5cbbafaff05295a751def5d32ad">&#9670;&#160;</a></span>prepare_app_arguments()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void prepare_app_arguments </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> *&#160;</td>
          <td class="paramname"><em>argc_ptr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char ***&#160;</td>
          <td class="paramname"><em>argv_ptr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00301">301</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a2911387e778b01a25f0e65eabadf1b7b" name="a2911387e778b01a25f0e65eabadf1b7b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2911387e778b01a25f0e65eabadf1b7b">&#9670;&#160;</a></span>print_error()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void print_error </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td>
          <td class="paramname"><em>err</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Print an error message to stderr, indicating filename and a human readable description of the error code err.</p>
<p>If strerror_r() is not available the use of this function in a multithreaded application may be unsafe.</p>
<dl class="section see"><dt>See also</dt><dd>av_strerror() </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00858">858</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a40394fd5966088e759ce995186773700" name="a40394fd5966088e759ce995186773700"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40394fd5966088e759ce995186773700">&#9670;&#160;</a></span>read_yesno()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> read_yesno </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return a positive value if a line read from standard input starts with [yY], otherwise return 0. </p>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00863">863</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="aa64dcad44f54da335b337154d9e9950f" name="aa64dcad44f54da335b337154d9e9950f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa64dcad44f54da335b337154d9e9950f">&#9670;&#160;</a></span>register_exit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void register_exit </td>
          <td>(</td>
          <td class="paramtype">void(*)(<a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> ret)&#160;</td>
          <td class="paramname"><em>cb</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Register a program-specific cleanup routine. </p>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00134">134</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a3aa39faacd4687b4af180f8e06f0b8f1" name="a3aa39faacd4687b4af180f8e06f0b8f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3aa39faacd4687b4af180f8e06f0b8f1">&#9670;&#160;</a></span>report_and_exit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void report_and_exit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td>
          <td class="paramname"><em>ret</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Reports an error corresponding to the provided AVERROR code and calls <a class="el" href="../../d8/d4e/fftools__cmdutils_8h.html#a1ab657d3155047b796645c95c54a1f16">exit_program()</a> with the corresponding POSIX error code. </p><dl class="section note"><dt>Note</dt><dd>ret must be an AVERROR-value of a POSIX error code (i.e. AVERROR(EFOO) and not AVERROR_FOO). library functions can return both, so call this only with AVERROR(EFOO) of your own. </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00139">139</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="afe6a9f6163ee90a66f85595f7984b982" name="afe6a9f6163ee90a66f85595f7984b982"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe6a9f6163ee90a66f85595f7984b982">&#9670;&#160;</a></span>setup_find_stream_info_opts()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">AVDictionary ** setup_find_stream_info_opts </td>
          <td>(</td>
          <td class="paramtype">AVFormatContext *&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">AVDictionary *&#160;</td>
          <td class="paramname"><em>codec_opts</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Setup AVCodecContext options for avformat_find_stream_info().</p>
<p>Create an array of dictionaries, one dictionary for each stream contained in s. Each dictionary will contain the options from codec_opts which can be applied to the corresponding stream codec context.</p>
<dl class="section return"><dt>Returns</dt><dd>pointer to the created array of dictionaries. Calls exit() on failure. </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l01012">1012</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a0833f5d4481c5c8c2362b0e5d65af5f3" name="a0833f5d4481c5c8c2362b0e5d65af5f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0833f5d4481c5c8c2362b0e5d65af5f3">&#9670;&#160;</a></span>show_help_children()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void show_help_children </td>
          <td>(</td>
          <td class="paramtype">const AVClass *&#160;</td>
          <td class="paramname"><em>clazz</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td>
          <td class="paramname"><em>flags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Show help for all options with given flags in class and all its children. </p>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00219">219</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a13fba56a5674556e879f5733f9b1dd55" name="a13fba56a5674556e879f5733f9b1dd55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13fba56a5674556e879f5733f9b1dd55">&#9670;&#160;</a></span>show_help_options()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void show_help_options </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d1e/struct_option_def.html">OptionDef</a> *&#160;</td>
          <td class="paramname"><em>options</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td>
          <td class="paramname"><em>req_flags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td>
          <td class="paramname"><em>rej_flags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td>
          <td class="paramname"><em>alt_flags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Print help for all options matching specified flags.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">options</td><td>a list of options </td></tr>
    <tr><td class="paramname">msg</td><td>title of this group. Only printed if at least one option matches. </td></tr>
    <tr><td class="paramname">req_flags</td><td>print only options which have all those flags set. </td></tr>
    <tr><td class="paramname">rej_flags</td><td>don't print options which have any of those flags set. </td></tr>
    <tr><td class="paramname">alt_flags</td><td>print only options that have at least one of those flags set </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00190">190</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a8dbe23ab7c8099a82806ae9beb9d4306" name="a8dbe23ab7c8099a82806ae9beb9d4306"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8dbe23ab7c8099a82806ae9beb9d4306">&#9670;&#160;</a></span>split_commandline()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> split_commandline </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../db/db5/struct_option_parse_context.html">OptionParseContext</a> *&#160;</td>
          <td class="paramname"><em>octx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>argv</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d1e/struct_option_def.html">OptionDef</a> *&#160;</td>
          <td class="paramname"><em>options</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../db/dd7/struct_option_group_def.html">OptionGroupDef</a> *&#160;</td>
          <td class="paramname"><em>groups</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td>
          <td class="paramname"><em>nb_groups</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Split the commandline into an intermediate form convenient for further processing.</p>
<p>The commandline is assumed to be composed of options which either belong to a group (those with OPT_SPEC, OPT_OFFSET or OPT_PERFILE) or are global (everything else).</p>
<p>A group (defined by an <a class="el" href="../../db/dd7/struct_option_group_def.html">OptionGroupDef</a> struct) is a sequence of options terminated by either a group separator option (e.g. -i) or a parameter that is not an option (doesn't start with -). A group without a separator option must always be first in the supplied groups list.</p>
<p>All options within the same group are stored in one <a class="el" href="../../d6/d69/struct_option_group.html">OptionGroup</a> struct in an <a class="el" href="../../d7/d4f/struct_option_group_list.html">OptionGroupList</a>, all groups with the same group definition are stored in one <a class="el" href="../../d7/d4f/struct_option_group_list.html">OptionGroupList</a> in <a class="el" href="../../db/db5/struct_option_parse_context.html#ac495a79844c7d896aadd2d7a3cb95993">OptionParseContext.groups</a>. The order of group lists is the same as the order of group definitions. </p>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00747">747</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="ac58552bde3a215ae94a3bd114577cbee" name="ac58552bde3a215ae94a3bd114577cbee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac58552bde3a215ae94a3bd114577cbee">&#9670;&#160;</a></span>uninit_opts()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uninit_opts </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Uninitialize the cmdutils option system, in particular free the *_opts contexts and their contents. </p>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00115">115</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a8bcd5cd3628e5864fa94431d8eb08fad" name="a8bcd5cd3628e5864fa94431d8eb08fad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8bcd5cd3628e5864fa94431d8eb08fad">&#9670;&#160;</a></span>uninit_parse_context()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uninit_parse_context </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../db/db5/struct_option_parse_context.html">OptionParseContext</a> *&#160;</td>
          <td class="paramname"><em>octx</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Free all allocated memory in an <a class="el" href="../../db/db5/struct_option_parse_context.html">OptionParseContext</a>. </p>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00722">722</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a5ca363d9d3e4d401719d9e2e27fd5e21" name="a5ca363d9d3e4d401719d9e2e27fd5e21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ca363d9d3e4d401719d9e2e27fd5e21">&#9670;&#160;</a></span>write_option()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> write_option </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>optctx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d1e/struct_option_def.html">OptionDef</a> *&#160;</td>
          <td class="paramname"><em>po</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>opt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>arg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00307">307</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="a08b59fb8c12cbc6db2dd68a367ae49d9" name="a08b59fb8c12cbc6db2dd68a367ae49d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08b59fb8c12cbc6db2dd68a367ae49d9">&#9670;&#160;</a></span>codec_opts</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__thread AVDictionary * codec_opts</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00110">110</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a19714c08385a99d977c6d1bcfed4bca5" name="a19714c08385a99d977c6d1bcfed4bca5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a19714c08385a99d977c6d1bcfed4bca5">&#9670;&#160;</a></span>format_opts</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__thread AVDictionary* format_opts</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00110">110</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="ad41fedd149e409656cc5e266493d15d1" name="ad41fedd149e409656cc5e266493d15d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad41fedd149e409656cc5e266493d15d1">&#9670;&#160;</a></span>hide_banner</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__thread <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> hide_banner = 0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00112">112</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a7d1a98cbe0679b1ee8a0e82d6a3283b8" name="a7d1a98cbe0679b1ee8a0e82d6a3283b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d1a98cbe0679b1ee8a0e82d6a3283b8">&#9670;&#160;</a></span>longjmp_value</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__thread <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> longjmp_value = 0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00113">113</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a83fbf976c7976ea554e7bda1d266b0a2" name="a83fbf976c7976ea554e7bda1d266b0a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83fbf976c7976ea554e7bda1d266b0a2">&#9670;&#160;</a></span>program_birth_year</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__thread <a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> program_birth_year</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>program birth year, defined by the program for <a class="el" href="../../d8/d4e/fftools__cmdutils_8h.html#a976c7dc9afeb4b0f6ec009a7a084e701">show_banner()</a> </p>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00106">106</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a70a33336401e81adb9d98c23ec4e77b7" name="a70a33336401e81adb9d98c23ec4e77b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70a33336401e81adb9d98c23ec4e77b7">&#9670;&#160;</a></span>program_exit</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">__thread void(* program_exit) (<a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> ret) </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d2/d36/fftools__ffmpeg__filter_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a>&#160;</td>
          <td class="paramname"><em>ret</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00132">132</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a6afce516a5adaeabd7087b767bab5886" name="a6afce516a5adaeabd7087b767bab5886"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6afce516a5adaeabd7087b767bab5886">&#9670;&#160;</a></span>program_name</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__thread char* program_name</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>program name, defined by the program for <a class="el" href="../../da/d2c/fftools__opt__common_8c.html#a79c0ae205603f7f83f15171ba3413f26">show_version()</a>. </p>

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00105">105</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a011fa5c3ecc237f646a56085659f53f3" name="a011fa5c3ecc237f646a56085659f53f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a011fa5c3ecc237f646a56085659f53f3">&#9670;&#160;</a></span>swr_opts</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__thread AVDictionary* swr_opts</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00109">109</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
<a id="a8c8028bff4ba308f54869748db9f692d" name="a8c8028bff4ba308f54869748db9f692d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c8028bff4ba308f54869748db9f692d">&#9670;&#160;</a></span>sws_dict</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__thread AVDictionary* sws_dict</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html#l00108">108</a> of file <a class="el" href="../../d7/dcc/fftools__cmdutils_8c_source.html">fftools_cmdutils.c</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Aug 22 2023 01:26:55 for FFmpegKit Android API by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7
</small></address>
</body>
</html>
